package com.homedo.microservice.open.service.gateway.manager.web.api.bean.model.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.google.common.collect.Lists;
import com.homedo.common.bean.model.base.BaseAMO;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.List;

@Data
@ApiModel
public class RouteDomainAResp extends BaseAMO {
    private Integer id;
    private String applicationName;
    private String domain;
    private Short statusCode;
    private String statusDesc;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private java.util.Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private java.util.Date updateTime;
    private String comment;

    private List<RouteAResp> routes = Lists.newArrayList();

}
